package jzq.spring.bean.lifecycle;

import org.springframework.beans.factory.InitializingBean;

/**
 * @author jzq
 * @date 2019/3/14 8:58
 */
public class ExampleBean implements InitializingBean {

    public void afterPropertiesSet() {
//        System.out.println("初始化回调");
    }

    public void destroy() {
        System.out.println("bean被销毁了");
    }
}
